package com.test.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class DinnerTable {
    @Override
    public String toString() {
        return "DinnerTable{" +
                "tableId=" + tableId +
                ", tableName='" + tableName + '\'' +
                ", tableStatus=" + tableStatus +
                ", orderDate=" + orderDate +
                '}';
    }

    private Integer tableId;

    private String tableName;

    private Integer tableStatus;

    private Date orderDate;

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName == null ? null : tableName.trim();
    }

    public Integer getTableStatus() {
        return tableStatus;
    }

    public void setTableStatus(Integer tableStatus) {
        this.tableStatus = tableStatus;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }
}